﻿using Microsoft.Extensions.Configuration;

namespace FrameworkCore.Constants;

/// <summary>
/// 全局常量
/// </summary>
public static class GlobalConstants
{
    /// <summary>
    /// 模块前缀
    /// </summary>
    public const string ModulePrefix = "AiBLSmartEdu.Module.";//模块前缀
    /// <summary>
    /// Nuget包文件夹名
    /// </summary>
    public const string PackagesFolderName = "packages";////Nuget包文件夹名
    /// <summary>
    /// Nuget包文件后缀
    /// </summary>
    public const string NugetPackageSuffix = ".nupkg";////Nuget包文件夹
    /// <summary>
    /// 忽略的Nuget文件
    /// </summary>
    public const string IgnoreNugetFileSuffixs = "^].xml|^.psmdcp|^.nuspec|^.rels";
    /// <summary>
    /// 宿主重启管理程序
    /// </summary>
    public const string HostRestartManager = "HostRestartManager.exe";
    /// <summary>
    /// 缓存类型
    /// </summary>
    public const string CacheTypeValue = "RedisCache";
    /// <summary>
    /// 主机配置KEY
    /// </summary>
    public const string HostsKey = "Hosts";
    /// <summary>
    /// 程序集后缀
    /// </summary>
    public const string AssemblySuffix = "*.dll";
    /// <summary>
    /// 默认连接配置KEY
    /// </summary>
    public const string DefaultConnectionKey = "DefaultConnection";
    /// <summary>
    /// 角色组编码
    /// </summary>
    public const string GroupCodeRole = "Role";
    /// <summary>
    /// 角色组名称
    /// </summary>
    public const string GroupnameRole = "角色组";
    /// <summary>
    /// 接收私有通知
    /// </summary>
    public const string ReceivePrivateNotification = "PrivateNotification";
    /// <summary>
    /// 询问问题完成
    /// </summary>
    public const string ChemistryAskCompleted = "ChemistryAskCompleted";
    /// <summary>
    /// 询问问题失败
    /// </summary>
    public const string ChemistryAskFail = "ChemistryAskFail";
}
